package com.chen.decorator;

public class Client {
    public static void main(String[] args) {
        Component c = new Decorator2(new Decorator1(new ConcreateComponent()));
        c.doSomething();
    }
}
